package com.harboursoftware.xstorage.results;

import com.harboursoftware.xstorage.ac.AccessControlPolicy;

public class GetAclResult extends XMLResult {
    private AccessControlPolicy acp;
    public GetAclResult(AccessControlPolicy acp) {
        this.status = 200;
        this.acp = acp;
    }

    @Override
    public String toXML() {
        return acp.toXML();
    }

    public AccessControlPolicy getAcp() {
        return acp;
    }

    public void setAcp(AccessControlPolicy acp) {
        this.acp = acp;
    }
}
